/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package dnbW.uiW.queryW.modelW;

import javax.swing.tree.DefaultMutableTreeNode;

/**
 * Encapsulates a node object which stores information about its accompanying node.
 * Useful to use in the condition tree.
 * @author Truong Ba Quan
 */
abstract class NodeObject {
    protected DefaultMutableTreeNode node;

    public DefaultMutableTreeNode getNode() {
        return node;
    }

    public void setNode(DefaultMutableTreeNode node) {
        this.node = node;
    }

    public NodeObject(DefaultMutableTreeNode node) {
        this.node = node;
    }
}
